package com.KOL.model.items;

import com.KOL.model.TileOccupier;
import com.KOL.present.TileType;
import java.awt.image.BufferedImage;

public class DroppedItem extends TileOccupier implements Item{
    private Item item;

    public DroppedItem(Item item,String nm, TileType tt, int x, int y, BufferedImage im,
                          int xRowStart, int yRowStart,
                          int xTileWidth, int yTileHeight) {
        super(nm,tt,x,y,im,xRowStart,yRowStart,xTileWidth,yTileHeight);

        this.item = item;
    }

    public ItemType getItemType() {
        return item.getItemType();
    }

    public String getDescription() {
        return item.getDescription();
    }

    public int getWeight() {
        return item.getWeight();
    }

    public Item getItem() {
        return item;
    }
}
